import { http } from '@/utils/http';
import type { Teacher } from './index.d';

export { Teacher };

/** 获取用户openid */
export const getExecellentTeacher = (number: number) => {
	return http<Teacher.TeacherList[]>({
		url: `/api/teacher/excellent_teacher`,
		method: 'POST',
		data: { number },
	});
};
